// pages/tjym/tjym.js
Page({

  data: {
    incorrect: '',
    correct: '',
    sum: ''
  },

  onLoad(options) {
    console.log(options)
    let incorrect = options.incorrect
    let correct = options.correct
    let sum = options.sum
    console.log(incorrect, correct, sum)
    this.setData({
      incorrect: incorrect,
      correct: correct,
      sum: sum
    })

  },
  gotoindex(){
    wx.switchTab({
      url: '/pages/index/index',
    })
  }

})